/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.io.Serializable;

/**
 *
 * @author nhóm 1 - 10HT
 */
public class CTHoaDon implements Serializable {

	private int _maCTHD;
	private int _soLuong;
	private double _giaBan;
	private int _maHD;
	private int _maSP;

	public CTHoaDon() {
		this._maCTHD = 0;
		this._soLuong = 0;
		this._giaBan = 0.0;
		this._maHD = 0;
		this._maSP = 0;
	}

	public CTHoaDon(CTHoaDon tmp) {
		this._maCTHD = tmp._maCTHD;
		this._soLuong = tmp._soLuong;
		this._giaBan = tmp._giaBan;
		this._maHD = tmp._maHD;
		this._maSP = tmp._maSP;
	}

	public CTHoaDon(int _maHD) {
		this._maCTHD = 0;
		this._soLuong = 0;
		this._giaBan = 0;
		this._maHD = _maHD;
		this._maSP = 0;
	}

	public CTHoaDon(int _maCTHD, int _soLuong, double _giaBan, int _maHD, int _maSP) {
		this._maCTHD = _maCTHD;
		this._soLuong = _soLuong;
		this._giaBan = _giaBan;
		this._maHD = _maHD;
		this._maSP = _maSP;
	}

	public int getMaCTHD() {
		return _maCTHD;
	}

	public void setMaCTHD(int _maCTHD) {
		this._maCTHD = _maCTHD;
	}

	public int getSoLuong() {
		return _soLuong;
	}

	public void setSoLuong(int _soLuong) {
		this._soLuong = _soLuong;
	}

	public double getGiaBan() {
		return _giaBan;
	}

	public void setGiaBan(double _giaBan) {
		this._giaBan = _giaBan;
	}

	public int getMaHD() {
		return _maHD;
	}

	public void setMaHD(int _maHD) {
		this._maHD = _maHD;
	}

	public int getMaSP() {
		return _maSP;
	}

	public void setMaSP(int _maSP) {
		this._maSP = _maSP;
	}
}
